$(document).ready(function(){
		$("div.div_contact img").click(function(){
				window.lemon.js2client(2,"main.html?user_id="+user_id);
				var server_address = window.lemon.js2client(4,null);
				window.lemon.httpGet(server_address+"/tom/servlet/C2S10professional?user_id="+user_id+"&pro_id="+this.id+"&cmd=write");
		});
});

var sqlrlt = window.lemon.searchTable("select _id from User;");
var sqlrlt1 = new String(sqlrlt);
var begin = sqlrlt1.lastIndexOf(":")+2;
var end = sqlrlt1.lastIndexOf("\"");
var user_id = sqlrlt1.substring(begin,end);


var sqlrlt = window.lemon.searchTable("select phone_number from User;");
var sqlrlt1 = new String(sqlrlt);
var begin = sqlrlt1.lastIndexOf(":")+2;
var end = sqlrlt1.lastIndexOf("\"");
var nick_name = sqlrlt1.substring(begin,end);